using ZeroBlog.Application.Categories.Dtos.In;
using ZeroBlog.Application.Categories.Dtos.Out;
using ZeroBlog.Application.Categories.Dtos.Query;
using ZeroSum.Models;

namespace ZeroBlog.Application.Categories;

public interface ICategoryApplicationService
{
    Task AddAsync(AddCategoryDto dto);
    Task DeleteAsync(DeleteCategoryDto dto);
    Task UpdateAsync(UpdateCategoryDto dto);
    Task<DetailCategoryDto> Detail(DetailCategoryQuery query);
    Task<PagedResponseModel<PageCategoryDto>> Page(PageCategoryQuery query);
}